package designPattern.filter;

public class Main {
	public static void main(String[] args) {
		String msg = "<font>是敏感词";
		FilterChain filterChain = new FilterChain();
		filterChain.add(new HtmlFilter()).add(new SensitiveFilter());
		System.out.println(filterChain.doFilter(msg));
	}
}
